Platform Explorer / Nuxeo Platform 2021.52

Component org.nuxeo.ecm.platform.oauth.auth.defaultConfig

Resolution Order

432
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.oauth.auth.defaultConfig">

  <extension target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService"
    point="authenticators">
    <authenticationPlugin name="OAUTH2_AUTH" enabled="true" class="org.nuxeo.ecm.platform.oauth2.NuxeoOAuth2Authenticator">
    </authenticationPlugin>
  </extension>

  <extension target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService" point="startURL">

    <startURLPattern>
      <patterns>
        <pattern>oauth2Grant.jsp</pattern>
        <pattern>oauth2/authorize</pattern>
      </patterns>
    </startURLPattern>

  </extension>

  <extension target="org.nuxeo.runtime.ConfigurationService" point="configuration">
    <documentation>
      Property to set the oauth2 token expiration duration. Default is 60 minutes.

      @since 2021.14
    </documentation>
    <property name="nuxeo.oauth2.token.expiration.duration">60m</property>
  </extension>

</component>